#if !defined(AFX_CONFIGGUIDLG_H__98AA7079_CAD8_4931_957D_030DB6FE9752__INCLUDED_)
#define AFX_CONFIGGUIDLG_H__98AA7079_CAD8_4931_957D_030DB6FE9752__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ConfigGUIDlg.h : header file
//

#include "ShooterDlg.h"
#include "TrainDlg.h"

/////////////////////////////////////////////////////////////////////////////
// CConfigGUIDlg dialog

class CConfigGUIDlg : public CDialog
{
// Construction
public:
	CConfigGUIDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CConfigGUIDlg)
	enum { IDD = IDD_MAIN };
	CButton	m_btnTrain;
	CButton	m_btnShooter;
	CButton	m_btnStop;
	CButton	m_btnReplay;
	CButton	m_btnPlay;
	CButton	m_btnPause;
	//}}AFX_DATA

private:
	HACCEL			m_hAccelTable;
	CShooterDlg*	m_pShooterDlg;
	CTrainDlg*		m_pTrainDlg;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CConfigGUIDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CConfigGUIDlg)
	afx_msg void OnShooter();
	afx_msg void OnExit();
	afx_msg void OnTrainsub();
	virtual BOOL OnInitDialog();
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnPause();
	afx_msg void OnStop();
	afx_msg void OnPlay();
	afx_msg void OnReplay();
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	inline void ResetBtnShooter(void) { m_btnShooter.EnableWindow(); }
	inline void ResetBtnTrainSub(void) { m_btnTrain.EnableWindow(); }
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CONFIGGUIDLG_H__98AA7079_CAD8_4931_957D_030DB6FE9752__INCLUDED_)
